package itcz.example.pattern.create_action.factory.simple_factory;

/**
 * @ClassName: Client
 * @Author: ITCZ
 * @Date: 2025-04-26
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        // 1. 创建咖啡店类
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee = coffeeStore.orderCoffee("latte");
        System.out.println(coffee.getName());
    }
}
